package com.easy.service;

import com.easy.bean.Admin;
import com.easy.bean.User;
import org.springframework.stereotype.Service;

@Service
public interface LoginService {
    String login(Admin admin);
    Admin logininfo(String token);
    Admin getAdminByEmail(String email);
    String loginByEmailCode(Admin admin);
    String loginUser(User user);
    User userinfo(String token);
    User getUserByEmail(String email);
    String loginUserByEmailCode(User user);
}
